﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using System.Reflection;
using Fusion.Data.Generation;
using Fusion.Data.Contract;
using Fusion.Data;
//using Fusion.Data.Domain;

namespace Fusion.Data.Generation.Test
{
    class Program
    {
        static void Main(string[] args)
        {




            //string connectionString = @"Data Source=localhost;Initial Catalog=FusionDB;Persist Security Info=True;User ID=sa;Password=data1";
            //string[] arguments = { "", connectionString, "System.Data.SqlClient", "FusionDB" };
            //string modelFileName = ModelGenerator.ModelGen(arguments);
            //System.IO.FileInfo fi = new System.IO.FileInfo(@"D:\Projects\Fusion.Data.Generation.Test\Fusion.Data.Generation.Test\bin\Debug\FusionDB.edmx");
            //ModelGenerator.CodeGen(fi, System.Data.Entity.Design.LanguageOption.GenerateCSharpCode);
            //ModelGenerator.CompileProject();

            EntityInstance.Instance.CreateEntityRecord("", null);
            EntityInstance.Instance.CreateEntity("", null);
            //EntityInstance.Instance.CreateEntityRecord("", null);
        }



    }
}
